package com.ssm.util;

public class Constants {
	//测试号
//	public static final String APP_ID ="wx212e8fb59e4b6a37";
//	public static final String APPSECRET = "8431a9877e30bcfb4838ee5522178b99";
//	public static final String PATH = "http://5rghgf.natappfree.cc/wechatPre/";//natapp访问路径
//	public static final String KAY = "19c850df3f59427a91d12a1d2b4b6ebe";//商户平台key值
//	public static final String MCH_ID = "1422111902";//商户号ID
//	public static final String IP = "127.0.0.1";//本机IP地址
//	public static final String WECHAT_FOR_SIGNATURE = "http://5rghgf.natappfree.cc/wechatPre/html/wechat_life/wechat_property.html";//物业支付调用的界面
	
	//主账号
	public static final String APP_ID ="wxe15c47bd9f3e2f1a";
	public static final String APPSECRET = "0cde881ab86fd41818257bd4d7d01aad";
	public static final String PATH = "http://daxingzhiye.com/wechatPre/";//natapp访问路径
	public static final String KAY = "19c850df3f59427a91d12a1d2b4b6ebe";//商户平台key值
	public static final String MCH_ID = "1422111902";//商户号ID
	public static final String IP = "127.0.0.1";//本机IP地址
	public static final String WECHAT_FOR_PROPERTY = "http://daxingzhiye.com/wechatPre/html/wechat_life/property.html";//物业支付调用的界面
	public static final String WECHAT_FOR_ELECTRIC = "http://daxingzhiye.com/wechatPre/html/wechat_life/electric.html";//电费支付调用的界面
	
	//微信token接口（GET）与接口配置信息中的Token要一致  
	public static final String ACCESS_TOKEN ="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APP_ID&secret=APPSECRET";
	//菜单创建（POST） 限100（次/天）
	public static final String MENU_CREATE = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN";
	// 微信素材上传(POST)
	public static final String UPLOAD_MEDIA = "";
	// 微信素材下载:不支持视频文件的下载(GET)
	public static final String DOWNLOAD_MEDIA = "";
		
	public static final String DEF_CHARTSET = "UTF-8";//设置字符类型
	public static final int DEF_CONN_TIMEOUT = 3000;
	public static final int DEF_READ_TIMEOUT = 3000;
	
	public static final String TOKEINVALID = "40001";
	public static final String STATE = "true";
	public static final String SUBSCRIBE = "1";//关注订阅号
	public static final String RESP_MESSAGE_TYPE_TEXT = "text";//返回消息类型：文本
	public static final String RESP_MESSAGE_TYPE_MUSIC = "music";//返回消息类型：音乐
	public static final String RESP_MESSAGE_TYPE_NEWS = "news";//返回消息类型：图文
	public static final String REQ_MESSAGE_TYPE_TEXT = "text";//请求消息类型：文本
	public static final String REQ_MESSAGE_TYPE_IMAGE = "image";//请求消息类型：图片
	public static final String REQ_MESSAGE_TYPE_LINK = "link";//请求消息类型：链接
	public static final String REQ_MESSAGE_TYPE_LOCATION = "location";//请求消息类型：地理位置
	public static final String REQ_MESSAGE_TYPE_VOICE = "voice";//请求消息类型：音频
	public static final String REQ_MESSAGE_TYPE_EVENT = "event";//请求消息类型：推送
	public static final String EVENT_TYPE_LOCATION = "LOCATION";//事件类型：地理位置
	public static final String EVENT_TYPE_SUBSCRIBE = "subscribe";//事件类型：subscribe(订阅)
	public static final String EVENT_TYPE_UNSUBSCRIBE = "unsubscribe";//事件类型：unsubscribe(取消订阅)
	public static final String EVENT_TYPE_CLICK = "CLICK";//事件类型：CLICK(自定义菜单点击事件)
	
	public static final String[] IMG_TYPE={"jpg","png","jpeg","svg"};
	
	public static final String WECHAT_OPTION_STATE_NORMARL = "1";
	
	public static final String PERMISSION_PARENT_ID_ZERO = "0";//菜单父ID为0
	
	public static final String PERMISSION_MENU_FIRST = "1";//菜单级别1
	public static final String PERMISSION_MENU_SECOND = "2";//菜单级别2
	public static final String PERMISSION_MENU_THREE = "3";//菜单权限3
	
	public static final String USER_AGENT = "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1";
	
	//微信账号状态   0：冻结   1：正常
	public static final String USERCODE_STATE_FROZEN = "0";//冻结
	public static final String USERCODE_STATE_NORMAL = "1";//正常
	public static final String USERCODE_STATE_IN = "2";//审核中
	public static final String USERCODE_STATE_SUCCESS = "3";//审核通过
	public static final String USERCODE_STATE_FAILED= "4";//审核失败
	
	//APP基本信息
	public static final String[] WECHATAPP_KEY = {"appId","appSecret"};
	public static final String[] WECHATAPP_RETURNMESSAGE= {"appId的值不能为空","appSecret的值不能为空"};
	
	//自定义菜单
	public static final String[] BUTTOMMENU_KEY = {"menuName","rebackContext"};
	public static final String[] BUTTOMMENU_RETURNMESSAGE = {"菜单名称不能为空","回复内容不能为空"};
	
	//关键字
	public static final String[] WECHATKEY_KEY = {"wechatKey","context"};
	public static final String[] WECHATKEY_RETURNMESSAGE = {"关键字不能为空","回复内容不能为空"};
	
	public static final String WECHAT_BUTTON_MENU_SUCCESS = "0";
	
	public static final String TEMPLATE_SIGN_ID = "b3vYnYLrEgUAvKnk3WwsCaVhQKncM9rQVkmm1YLSTk8";//住户信息登记通知
	public static final String TEMPLATE_REPAIR_ID = "y1eeMjv-BsB4UjXP8y4nFw0DhTe_M3TxR2ONhFlLSmM";//故障报修模板ID
	public static final String TEMPLATE_OPTION_ID = "KXnGn8Rlbk_xGZDhrAbj8JxYG56aIvjxfM8veVOeESU";//意见反馈模板ID
	public static final String TEMPLATE_LIFE_ID = "96xEawiWULyu5_KAHhy2VSAFVn423ZCY69hOljj1P8k";//缴费通知模板ID
}
